﻿using System;
using UnityEngine;

namespace ParticlePlayground
{
	// Token: 0x02000139 RID: 313
	public class PlaygroundMultiRecorder : MonoBehaviour
	{
		// Token: 0x06000685 RID: 1669 RVA: 0x00026FD4 File Offset: 0x000251D4
		public virtual void StartRecording(float frameIntervalInSeconds)
		{
			for (int i = 0; i < this.playgroundRecorders.Length; i++)
			{
				this.playgroundRecorders[i].StartRecording(frameIntervalInSeconds);
			}
		}

		// Token: 0x06000686 RID: 1670 RVA: 0x00027008 File Offset: 0x00025208
		public virtual void StartRecording(float recordingLength, float frameIntervalInSeconds)
		{
			for (int i = 0; i < this.playgroundRecorders.Length; i++)
			{
				this.playgroundRecorders[i].StartRecording(recordingLength, frameIntervalInSeconds);
			}
		}

		// Token: 0x06000687 RID: 1671 RVA: 0x00027040 File Offset: 0x00025240
		public virtual void RecordOneFrame()
		{
			for (int i = 0; i < this.playgroundRecorders.Length; i++)
			{
				this.playgroundRecorders[i].RecordOneFrame();
			}
		}

		// Token: 0x06000688 RID: 1672 RVA: 0x00027074 File Offset: 0x00025274
		public virtual void InsertOneFrame(int frame)
		{
			for (int i = 0; i < this.playgroundRecorders.Length; i++)
			{
				this.playgroundRecorders[i].InsertOneFrame(frame, FrameType.Middle);
			}
		}

		// Token: 0x06000689 RID: 1673 RVA: 0x000270AC File Offset: 0x000252AC
		public virtual void StopRecording()
		{
			for (int i = 0; i < this.playgroundRecorders.Length; i++)
			{
				this.playgroundRecorders[i].StopRecording();
			}
		}

		// Token: 0x0600068A RID: 1674 RVA: 0x000270E0 File Offset: 0x000252E0
		public virtual void ClearRecording()
		{
			for (int i = 0; i < this.playgroundRecorders.Length; i++)
			{
				this.playgroundRecorders[i].ClearRecording();
			}
		}

		// Token: 0x0600068B RID: 1675 RVA: 0x00027114 File Offset: 0x00025314
		public virtual void Play(float speed)
		{
			for (int i = 0; i < this.playgroundRecorders.Length; i++)
			{
				this.playgroundRecorders[i].Play(speed);
			}
		}

		// Token: 0x0600068C RID: 1676 RVA: 0x00027148 File Offset: 0x00025348
		public virtual void Play(float fromNormalizedTime, float speed, bool repeat)
		{
			for (int i = 0; i < this.playgroundRecorders.Length; i++)
			{
				this.playgroundRecorders[i].Play(fromNormalizedTime, speed, repeat);
			}
		}

		// Token: 0x0600068D RID: 1677 RVA: 0x00027180 File Offset: 0x00025380
		public virtual void Stop()
		{
			for (int i = 0; i < this.playgroundRecorders.Length; i++)
			{
				this.playgroundRecorders[i].Stop();
			}
		}

		// Token: 0x0600068E RID: 1678 RVA: 0x000271B4 File Offset: 0x000253B4
		public virtual void Pause()
		{
			for (int i = 0; i < this.playgroundRecorders.Length; i++)
			{
				this.playgroundRecorders[i].Pause();
			}
		}

		// Token: 0x0600068F RID: 1679 RVA: 0x000271E8 File Offset: 0x000253E8
		public virtual void Scrub(float normalizedTime)
		{
			for (int i = 0; i < this.playgroundRecorders.Length; i++)
			{
				this.playgroundRecorders[i].Scrub(normalizedTime);
			}
		}

		// Token: 0x040006B3 RID: 1715
		public PlaygroundRecorder[] playgroundRecorders;
	}
}
